-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix faraday use / adapter error #75
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like build is failing for good reason.
This change requires a newer version of Faraday, you should change .gemspec to have >= whatever that version it is that introduced adapter vs. use
.
Please fix the build, see Travis CI output for details. Add a paragraph to UPGRADING, bump major version. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The .gemspec dependency >= 1.0 is the last thing, thanks for hanging in here.
UPGRADING.md
Outdated
|
||
#### Faraday dependency changed to 1.0 | ||
|
||
See [#75](https://github.com/ashkan18/graphlient/pull/75) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a period at the end.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The .gemspec dependency >= 1.0 is the last thing, thanks for hanging in here.
Heya @dblock , all addressed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, found one more, sorry :)
👍 |
References this issue: #73
Faraday has changed so we need to assign an adapter using
f.adapter
rather thanf.use
.As part of this PR, a few tests broke with nested errors etc. I've fixed them / got them all green, however I'm not too familiar with inner exceptions so it's worth a look from someone who knows a bit more than me :)
Will do changelog etc. shortly.
edit
ugh, I'm using Ruby 2.6, and this is 2.3. Having trouble getting Bundler to work with 2.3 :\